﻿using LogCenterService.Models;

namespace LogCenterService.Common.Interfaces;

public interface IPagingQuery<TViewDTO, TQueryParam>
{
    /// <summary>
    /// 分页
    /// </summary>
    /// <param name="param"></param>
    /// <returns></returns>
    Task<TableModel<TViewDTO>> PagingQueryAsync(TQueryParam param);
}